<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver DS18B20: example/driver_ds18b20_alarm.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver DS18B20
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">DS18B20 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__ds18b20__alarm_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_ds18b20_alarm.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__ds18b20__alarm_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#ifndef DRIVER_DS18B20_ALARM_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define DRIVER_DS18B20_ALARM_H</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__ds18b20__interface_8h.html">driver_ds18b20_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;uint8_t <a class="code" href="driver__ds18b20__alarm_8h.html#aceca818b591b2a75bf7587264df98e5a">ds18b20_alarm_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;uint8_t <a class="code" href="driver__ds18b20__alarm_8h.html#a6872277417e0d85467d391c591d182e0">ds18b20_alarm_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;uint8_t <a class="code" href="driver__ds18b20__alarm_8h.html#aea7386790c80de8807e9f1b7467426f3">ds18b20_alarm_set_threshold</a>(uint8_t rom[8], <span class="keywordtype">float</span> low, <span class="keywordtype">float</span> high);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;uint8_t <a class="code" href="driver__ds18b20__alarm_8h.html#af399ae219cf762344c9bcf9af5177636">ds18b20_alarm_get_threshold</a>(uint8_t rom[8], <span class="keywordtype">float</span> *low, <span class="keywordtype">float</span> *high);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;uint8_t <a class="code" href="driver__ds18b20__alarm_8h.html#a23feb959a6ccf44bfa06138c5ae73319">ds18b20_alarm_search</a>(uint8_t (*rom)[8], uint8_t *num);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;}</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="adriver__ds18b20__alarm_8h_html_a23feb959a6ccf44bfa06138c5ae73319"><div class="ttname"><a href="driver__ds18b20__alarm_8h.html#a23feb959a6ccf44bfa06138c5ae73319">ds18b20_alarm_search</a></div><div class="ttdeci">uint8_t ds18b20_alarm_search(uint8_t(*rom)[8], uint8_t *num)</div><div class="ttdoc">alarm example find</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__alarm_8c_source.html#l00190">driver_ds18b20_alarm.c:190</a></div></div>
<div class="ttc" id="adriver__ds18b20__alarm_8h_html_a6872277417e0d85467d391c591d182e0"><div class="ttname"><a href="driver__ds18b20__alarm_8h.html#a6872277417e0d85467d391c591d182e0">ds18b20_alarm_deinit</a></div><div class="ttdeci">uint8_t ds18b20_alarm_deinit(void)</div><div class="ttdoc">alarm example deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__alarm_8c_source.html#l00210">driver_ds18b20_alarm.c:210</a></div></div>
<div class="ttc" id="adriver__ds18b20__alarm_8h_html_aceca818b591b2a75bf7587264df98e5a"><div class="ttname"><a href="driver__ds18b20__alarm_8h.html#aceca818b591b2a75bf7587264df98e5a">ds18b20_alarm_init</a></div><div class="ttdeci">uint8_t ds18b20_alarm_init(void)</div><div class="ttdoc">alarm example init</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__alarm_8c_source.html#l00049">driver_ds18b20_alarm.c:49</a></div></div>
<div class="ttc" id="adriver__ds18b20__alarm_8h_html_aea7386790c80de8807e9f1b7467426f3"><div class="ttname"><a href="driver__ds18b20__alarm_8h.html#aea7386790c80de8807e9f1b7467426f3">ds18b20_alarm_set_threshold</a></div><div class="ttdeci">uint8_t ds18b20_alarm_set_threshold(uint8_t rom[8], float low, float high)</div><div class="ttdoc">alarm example set the threshold</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__alarm_8c_source.html#l00097">driver_ds18b20_alarm.c:97</a></div></div>
<div class="ttc" id="adriver__ds18b20__alarm_8h_html_af399ae219cf762344c9bcf9af5177636"><div class="ttname"><a href="driver__ds18b20__alarm_8h.html#af399ae219cf762344c9bcf9af5177636">ds18b20_alarm_get_threshold</a></div><div class="ttdeci">uint8_t ds18b20_alarm_get_threshold(uint8_t rom[8], float *low, float *high)</div><div class="ttdoc">alarm example get the threshold</div><div class="ttdef"><b>Definition:</b> <a href="driver__ds18b20__alarm_8c_source.html#l00144">driver_ds18b20_alarm.c:144</a></div></div>
<div class="ttc" id="adriver__ds18b20__interface_8h_html"><div class="ttname"><a href="driver__ds18b20__interface_8h.html">driver_ds18b20_interface.h</a></div><div class="ttdoc">driver ds18b20 interface header file</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li><li class="navelem"><a class="el" href="driver__ds18b20__alarm_8h.html">driver_ds18b20_alarm.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
